<%
/*Auther name      : Frederic Anand
  file name        : 500.jsp
  date modified    : 17-Feb-2009
  revision history :
*/
%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/displaytag-12.tld" prefix="display" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<jsp:include page="../jsp/CheckUser.jsp"/>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>droik.com</title>
<link href="../css/sample1.css" rel="stylesheet" type="text/css">

<style type="text/css">
<!--
body {
	background-image: url(../images/main_bg2.gif);
}
.style3 {color: #FFFFFF}
.style4 {font-weight: bold}
.style5 {
	color: #CC6600;
	font-weight: bold;
}
-->
</style>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<jsp:include page="top.jsp"/>
<br>
<table width="720" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr>
		<td><img src="../images/deals_tab.gif" width="720" height="76" usemap="#Map" border="0"></td>
	</tr>
	<tr>
		<td background="../images/border_bg2.gif">
			<html:form action="/portal/newdeals.do?action=Confirm" scope="session"> 
			<table width="100%" border="0" cellpadding="10" cellspacing="1">
			<!--DWLayoutTable-->
				<tr> 
					<td height="57" colspan="3" class="title">
						<div align="left"><img src="../images/step2.gif" width="646" height="32"><font color="#CCCCCC"><br>	
			</font></div>
		</td>
	</tr>
	<tr align="left" bgcolor="" class="text">
		<td colspan="7"><p class="style5">As a promotional offer Deals can be posted free of cost
			for the months of March and April 2005.</p>
			<ol>
				<li> Deals cannot be modified at a later date, but can be Deleted and
					re-posted. This is to ensure that all users get the same deal.</li>
				<li> To display your company logo, email the file to deals@Pune360.com.
					Please make sure to include your ba360 username(your registered email
					address), Deal Title, and Name of Business in the email.</li>
			</ol>		   
		</td>
	</tr>
	<tr class="text" bgcolor=""> 
		<td height="34" colspan="3"> <div align="center"><span class="label"><strong> Category:</strong></span> 
			<bean:write name="NewDealRecord" property="mainCatName"/>&nbsp;&nbsp;&nbsp;<span class="label"><strong> 
			SubCategory:</strong></span> <bean:write name="NewDealRecord" property="subCatName"/>&nbsp;&nbsp;&nbsp; 
			<span class="label"><strong>Location:</strong></span> <bean:write name="NewDealRecord" property="location"/>&nbsp;&nbsp;&nbsp; 
			<span class="label"><strong>Place:</strong></span> <bean:write name="NewDealRecord" property="place"/> 
			<br>
		</td>
	</tr>
	<tr>
		<td width="100%" height="226" colspan="10">
			<table border="0" width="100%" cellspacing="1" cellpadding="1" align="center"  bgcolor="#99CC33">	
				<tr class="text"> 
					<td width="" colspan="10" align="left" class="title">Enter Business Information (All Fields Mandatory)</td>
				</tr> 	
				<tr class="text">
					<td colspan="2" bgcolor="#FFFFFF" class="error" ><div align="justify"><html:errors></html:errors>
						<logic:present name="USER_EXIST">
						<bean:message key="UserExists"/>
						</logic:present></div>
					</td>
				</tr>
				<tr class="text"> 
					<td  align="right" class="boldtext" nowrap height="24" bgcolor="#FFFFFF"> 
						<div align="justify"><font class="label">Business Name:</font></div></td>
					<td bgcolor="#FFFFFF" > <div align="justify"><html:text property="businessName"/> <SUP>*</SUP></div></td>
				</tr>
				<tr class="text"> 
					<td  align="right" bgcolor="#FFFFFF" class="boldtext" > <div align="justify">Business Type:</div></td>
					<td bgcolor="#FFFFFF" > <div align="justify"><html:text property="businessType"/> <SUP>*</SUP></div></td>
				</tr>
				<tr class="text"> 
					<td  align="right" bgcolor="#FFFFFF" class="boldtext" > <div align="justify">Business Address:</div></td>
					<td bgcolor="#FFFFFF" > <div align="justify"><html:text property="businessAddress"/><SUP>*</SUP> </div></td>
				</tr>
				<tr class="text"> 
					<td  align="right" bgcolor="#FFFFFF" class="boldtext"  > <div align="justify">Business City:</div></td>
					<td bgcolor="#FFFFFF" > <div align="justify"><html:text property="place"/> <SUP>*</SUP></div></td>
				</tr>
				<tr class="text"> 
					<td  align="right" bgcolor="#FFFFFF" class="boldtext" > <div align="justify">Business Zip:</div></td>
					<td bgcolor="#FFFFFF"  > <div align="justify"><html:text property="zip"/> <SUP>*</SUP></div></td>
					<tr class="text"> 
						<td height="24"  align="center" bgcolor="#FFFFFF" class="boldtext" > <div align="justify"><span class="label">Email</span>: 
							</div>
						</td>
						<td nowrap bgcolor="#FFFFFF" > <div align="justify">
							<html:text property="email"/> <SUP>*
							</SUP> 
							</div>
						</td>
				</tr>	
				<tr class="text"> 
					<td  align="right" class="boldtext" height="36" bgcolor="#FFFFFF"> 
						<div align="justify"><span class="label">Business WebSite:</span></div></td>
					<td bgcolor="#FFFFFF" > <div align="justify"><html:text property="website"/> <SUP>* 
					</SUP></div></td>
				</tr>
				<tr class="text"> 
					<td  align="right" class="boldtext" height="36" bgcolor="#FFFFFF"> 
					<div align="justify"><span class="label">Business Description:</span> </div></td>
					<td bgcolor="#FFFFFF" > <div align="justify"><html:textarea property="businessDesc" rows="5" cols="30"/> <SUP>*</SUP></div></td>
				</tr>	
				<tr class="text"> 
					<td  align="right" bgcolor="#FFFFFF" class="boldtext" > <div align="justify">Business Phone:</div></td>
					<td bgcolor="#FFFFFF" > <div align="justify"><html:text property="businessPhone"/><SUP>*</SUP> </div></td>
				</tr>	
			</table>
		</td>
	</tr>
	<tr>
		<td height="125" width="100%"><table border="0" width="100%" cellspacing="1" cellpadding="1" align="center"  bgcolor="#99CC33">
			<tr class="title">
				<td colspan="3">Enter Deal Information (All Fields Mandatory)</td>
			</tr>
			<tr bgcolor="#FFFFFF" class="text"> 
				<td colspan="" align="right" class="boldtext">Title </td>
				<td colspan="4" valign="top"><html:text size="50" property="title"/><html:errors property="title"/> 
				</td>
			</tr>
			<tr bgcolor="#FFFFFF" class="text"> 
				<td colspan="" align="right" valign="top" class="boldtext">Deal Desc </td>
				<td colspan="4" valign="top"><html:textarea  cols="65" rows="20" property="dealDesc"/><html:errors property="postDesc"/>&nbsp;</td>
			</tr>
				<%
				com.ba360.portal.database.dbo.User user= (com.ba360.portal.database.dbo.User)session.getAttribute("USER");
				String email = user.getEmail();
				%>
			<tr bgcolor="#FFFFFF" class="text"> 
				<td colspan="" align="right" class="boldtext">Discount</td>
				<td colspan="4"  valign="top"><html:text property="discountPrice"/><html:errors property="discountPrice"/> </td>
			</tr>
			<tr bgcolor="#FFFFFF" class="text"> 
				<td colspan="" align="right" class="boldtext">Image URL:</td>
				<td colspan="4"><html:text property="img"/><html:errors property="img"/>&nbsp;</td>
			</tr>
			<tr bgcolor="#FFFFFF" class="text"> 
				<td colspan="" align="right" class="boldtext">Expiry Date</td>
				<td colspan="4"><html:text property="expiry"/><html:errors property="expiry"/>&nbsp;</td>
			</tr>	
		</table>
		</td>	
	</tr>
	<tr> 
		<td height="39" colspan="2"><div align="center">
		<html:submit styleClass="button"/></div></td>
		<td>&nbsp;</td>
	</tr>
</table>
</html:form> </td>
</tr>
<tr>
<td><img src="../images/border_bot2.gif" width="719" height="20"></td>
</tr>
</table>
 <br>
 <br>
<jsp:include page="footer.html"/>
<map name="Map">
  <area shape="rect" coords="131,5,204,75" href="../portal/activities.do">
  <area shape="rect" coords="212,5,292,76" href="../portal/attractions.do">
  <area shape="rect" coords="298,7,367,77" href="../portal/deals.do">
  <area shape="rect" coords="39,12,113,91" href="../jsp/index.jsp">
</map>
</body>
</html>
